<?php
namespace Ns;

use Slim\Http\Request;
use Slim\Http\Response;

class FooController
{
        public function fooIndex(Request $request, Response $response)
        {
                return $response->withJson([
                        "success" => true,
                        'message' => 'fooIndex'
                ]);
        }
}
